﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.Data.SqlClient;
using OpenComposite.EII;
using OpenComposite.Repository.Properties;
using OpenComposite.Base;

namespace OpenComposite.Repository.Forms.TrackingMonitor
{
	public partial class FormTrackingMonitorOptions : Form
	{
		public FormTrackingMonitorOptions()
		{
			InitializeComponent();
			this.DialogResult = DialogResult.None;
		}

		public string ConnectionString
		{
			get { return this.DialogResult == DialogResult.OK ? sqlTrackingConnection.ConnectionString : null; }
			set { sqlTrackingConnection.ConnectionString = value; }
		}

		private void tsbtnOk_Click(object sender, EventArgs e)
		{
			this.DialogResult = DialogResult.OK;
		}

		private void tsbtnCancel_Click(object sender, EventArgs e)
		{
			this.DialogResult = DialogResult.Cancel;
		}
	}
}
